import java.util.Scanner;

public class Task02 {
    public static void main(String[] args) {
        Scanner sc= new Scanner(System.in);
        System.out.println("请您输入Java成绩");
        int javaScore= sc.nextInt();
        System.out.println("请您输入音乐成绩");
        int musicScore=sc.nextInt();
        Task02 t=new Task02();
        t.score(javaScore,musicScore);
    }

    /**
     * 判断成绩
     * @param javaScore
     * @param musicScore
     */
    public void score(int javaScore,int musicScore){
        if (javaScore>98&&musicScore>80){
            System.out.println("奖励！");
        }
        if (javaScore==100&&musicScore>70){
            System.out.println("奖励！");
        }
    }
}
